<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
div{
width: 300px;
height: 300px;
border: 1px solid red;
/*  溢出设置 默认显示 hidden隐藏 scroll滚动  */
overflow: scroll;
}
</style>
</head>
<body>
<div>
<img src="../imgs/a.jpg">
</div>
</body>
</html>